* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clear::after {
    content: '';
    display: block;
    clear: both;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f9f7f5;
    color: #333;
}

.ad {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ad img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.yoga-courses {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.head {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0d9d2;
}

.order {
    list-style: none;
    float: left;
}

.order li {
    float: left;
    padding: 8px 15px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 20px;
    background-color: #fff;
    transition: all 0.3s;
}

.order li.active {
    background-color: #7d9d8b;
    color: #fff;
}

.more {
    float: right;
    padding: 8px 0;
}

.more .icon {
    color: #7d9d8b;
    cursor: pointer;
    font-weight: 500;
}

.list {
    list-style: none;
}

.list li {
    width: 23%;
    float: left;
    margin-right: 2.66%;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.list li:nth-child(4n) {
    margin-right: 0;
}

.course-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.list li:hover .course-img img {
    transform: scale(1.05);
}

.course-info {
    padding: 15px;
}

.course-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.course-teacher {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.course-time {
    font-size: 13px;
    color: #999;
}